Skip to main content

DeleteOptionalUpgrades

This request returns the details of a specific optional upgrades.

Request URL

DELETE https://api.theownly.io/v1/models/{modelId}/optionalUpgrades/{Id}

Headers

NameValueRequired?
Acceptapplication/jsonYes
AuthorizationBearer{APItoken}Yes

Parameters

NameTypeRequired?Description
idStringYesOptional Upgrade ID
modelIdStringYesModel ID

Example Request


curl -X 'PUT' \
'https://api.theownly.io/v1/models/TbuHj789/optionalUpgrades' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \
-H 'Content-Type: application/json' \
-d '{
"name": "Parking",
"price": 0
}'

Example Response

 Optional upgrade deleted.